package com.example.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author zf
 * @since 2023-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Kk implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名字
     */
    @TableField("Name")
    private String name;

    /**
     * 性别
     */
    @TableField("Sex")
    private String sex;

    /**
     * 生日
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField("Birth")
    private LocalDate birth;

    /**
     * 兴趣爱好
     */
    @TableField("Inter")
    private String inter;


}
